package com.jiuyi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jiuyi.entity.Dish;
import com.jiuyi.entity.DishFlavor;
import com.jiuyi.vo.AdminDishAddVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * DATA: 2022/10/20
 * Author: 晨夕
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminDishDto {

    Long id;
    //菜品分类id
    private Long categoryId;
    //菜品名称
    private String name;
    //菜品价格
    private Double price;
    //图片
    private String image;
    //描述信息
    private String description;
    //口味
    private List<AdminDishAddVo> flavors;
    //0 停售 1 起售
    private Integer status;
}
